home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20041116-20060924 / 000178_arthur.marsh@internode.on.net_Sun Oct 23 14:20:39 2005.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Date: Thu, 20 Oct 2005 11:38:07 +0930
  2. From: Arthur Marsh <arthur.marsh@internode.on.net>
  3. Organization: what organisation
  4. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.12) Gecko/20051007 Debian/1.7.12-1
  5. X-Accept-Language: en, en-us
  6. MIME-Version: 1.0
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: c-kermit +ssl compile fails with syntax error before numeric
  9.  constant
  10. References: <1129748128.997179.70330@g47g2000cwa.googlegroups.com>
  11. In-Reply-To: <1129748128.997179.70330@g47g2000cwa.googlegroups.com>
  12. Content-Type: text/plain; charset=us-ascii; format=flowed
  13. Content-Transfer-Encoding: 7bit
  14. NNTP-Posting-Host: ppp1092.adelaide.on.net.au
  15. Message-ID: <4356fc09$1@duster.adelaide.on.net>
  16. X-Trace: duster.adelaide.on.net 1129774089 150.101.64.67 (20 Oct 2005 11:38:09 +0950)
  17. Lines: 60
  18. Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!news-south.connect.com.au!duster.adelaide.on.net!not-for-mail
  19. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15421
  20.  
  21. Hi, you probably need to install OpenSSL 0.9.7g, add:
  22.  
  23.   -DOPENSSL_097
  24.  
  25. to your makefile options, and try compiling again.
  26.  
  27. LT wrote:
  28. > I needed to make a change to c-kermit.  The recompile is failing on
  29. > linux with the error... "/usr/local/ssl/include/openssl/rsa.h:324:
  30. > error: syntax error before numeric constant"
  31. > I installed and verified the the latest version of openssl.
  32. > The compile log and other details are below.
  33. > Any ideas on a fix would be appreciated.
  34. > thanks, LT
  35. > $ openssl version
  36. > OpenSSL 0.9.8a 11 Oct 2005
  37. > $ make clean
  38. > Removing object files...
  39. > rm -f ckcmai.o ckucmd.o ckuusr.o ckuus2.o \
  40. > ckuus3.o ckuus4.o ckuus5.o ckcpro.o ckcfns.o \
  41. > ckcfn2.o ckcfn3.o ckuxla.o ckucon.o ckutio.o \
  42. > ckufio.o ckudia.o ckuscr.o ckwart.o ckuusx.o \
  43. > ckuusy.o ckcnet.o ckuus6.o ckuus7.o ckusig.o \
  44. > ckucns.o ckcmdb.o ckuath.o ckctel.o ckclib.o \
  45. > ckcuni.o ck_crp.o ck_ssl.o ckupty.o ckcftp.o \
  46. > ckcpro.c wart
  47. > $ make linux+openssl
  48. > Making C-Kermit "8.0.211" for Linux on i386 with SSL/TLS...
  49. > make xermit KTARGET=${KTARGET:-linux+openssl} "CC = gcc" "CC2 = gcc" \
  50. > "CFLAGS = -O -funsigned-char -pipe -DPOSIX -DLINUX -DNOCOTFMC \
  51. > -DCK_AUTHENTICATION -DCK_SSL \
  52. > -DCK_CURSES -DCK_POSIX_SIG -DTCPSOCKET -DLINUXFSSTND -DHAVE_CRYPT_H \
  53. > -DFNFLOAT -I/usr/local/ssl/include " "LNKFLAGS = " \
  54. > "LIBS= -L/usr/local/ssl/lib \
  55. > -lncurses -ltermcap -lssl -lcrypto -lm -lresolv -lcrypt"
  56. > make[1]: Entering directory `/home/aplst/ftp/kermit/temp'
  57. > gcc -O -funsigned-char -pipe -DPOSIX -DLINUX -DNOCOTFMC
  58. > -DCK_AUTHENTICATION -DCK_SSL  -DCK_CURSES -DCK_POSIX_SIG -DTCPSOCKET
  59. > -DLINUXFSSTND -DHAVE_CRYPT_H  -DFNFLOAT -I/usr/local/ssl/include
  60. > -DKTARGET=\"linux+openssl\" -c ckcmai.c
  61. > In file included from /usr/local/ssl/include/openssl/x509.h:96,
  62. >                  from /usr/local/ssl/include/openssl/ssl.h:183,
  63. >                  from ck_ssl.h:43,
  64. >                  from ckcmai.c:607:
  65. > /usr/local/ssl/include/openssl/rsa.h:324: error: syntax error before
  66. > numeric constant
  67. > /usr/local/ssl/include/openssl/rsa.h:325: error: syntax error before
  68. > numeric constant
  69. > make[1]: *** [ckcmai.o] Error 1
  70. > make[1]: Leaving directory `/home/aplst/ftp/kermit/temp'
  71. > make: *** [linux+openssl] Error 2